\documentclass[12pt,a4paper]{article}

\usepackage{anysize}
\marginsize{3cm}{3cm}{3cm}{3cm}
\usepackage{graphicx}
\usepackage{t1enc}
\usepackage[MeX]{polski}
\usepackage[utf-8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{subfigure}
\usepackage{listings}
\usepackage{color}
\lstset{ %
language=SQL,                % choose the language of the code
basicstyle=\footnotesize\sffamily,       % the size of the fonts that are used for the code
keywordstyle=\footnotesize\sffamily\bfseries,
showstringspaces=false,         % underline spaces within strings
backgroundcolor=\color{white},  % choose the background color. You must add \usepackage{color}
showspaces=false,               % show spaces within strings adding particular underscores
showtabs=false,                 % show tabs within strings adding particular underscores
frame=single,                   % adds a frame around the code
tabsize=2,                      % sets default tabsize to 2 spaces
captionpos=b,                   % sets the caption-position to bottom
breaklines=true,                % sets automatic line breaking
breakatwhitespace=false,        % sets if automatic breaks should only happen at whitespace
}


\usepackage{fancyhdr}
\setlength{\headheight}{15pt}
\pagestyle{fancy}

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

\begin{document}

\input{./tex/title.tex}

\fancyhf{}

\lhead{Tomasz Huczek, Andrzej Jasiński}
\rhead{\today}
\rfoot{\thepage}

% \input{./tex/abstract.tex}

% \tableofcontents
% \newpage


\input{./tex/rozdz_1.tex}
\input{./tex/rozdz_2.tex}
\input{./tex/rozdz_3.tex}
\input{./tex/rozdz_4.tex}
\input{./tex/rozdz_5.tex}
\input{./tex/rozdz_6.tex}
\input{./tex/rozdz_7.tex}
\input{./tex/rozdz_8.tex}
\input{./tex/rozdz_9.tex}
\input{./tex/rozdz_10.tex}
\input{./tex/rozdz_11.tex}
\input{./tex/rozdz_12.tex}
\input{./tex/rozdz_15.tex}
\input{./tex/rozdz_16.tex}
\input{./tex/rozdz_17.tex}
\input{./tex/rozdz_18.tex}

\clearpage
% \addcontentsline{toc}{section}{Literatura}
% \begin{thebibliography}{99}
% \bibitem{bib:onelecture} Jakaś książka
% \end{thebibliography}

\end{document}
